package cn.alise.qdp.model.user;

import java.sql.Timestamp;
/**
 * 用户基本信息
 */
public class User implements java.io.Serializable{
	private static final long serialVersionUID = -3360297341523480215L;
	
	/**
	 * 用户基本信息表
	 */
	private Long userId;
	
	/**
	 * 用户名称
	 */
	private String userName;
	
	/**
	 * 账号
	 */
	private String account;
	
	/**
	 * 密码
	 */
	private String password;
	
	/**
	 * 外参
	 * 加密后密码
	 */
	private String encryptionPwd;
	
	/**
	 * 外参
	 * 保存图片路径
	 */
	private String keepPath;
	
	/**
	 * 加密掩码
	 */
	private String mask;
	
	/**
     * 验证码
     */
    private String captcha;
	
	/**
	 * 员工编码
	 */
	private String userCode;
	
	/**
	 * 组织编号
	 */
	private String organId;
	
	/**
	 * 职位
	 */
	private String position;
	
	/**
	 * 图片路径
	 */
	private String path;
	
	/**
	 * 状态  0:注销1:有效
	 */
	private Integer status;
	
	/**
	 * 年龄
	 */
	private Integer age;
	
	/**
	 * 用户类型  1:管理员2:普通用户
	 */
	private Integer type;
	
	/**
	 * 手机号码
	 */
	private String mobileNo;
	
	/**
	 * 性别  1:男  2：女 0：未知	
	 */
	private Integer sex;
	
	/**
	 * 出生日期
	 */
	private String birthday;
	
	/**
	 * 邮箱地址
	 */
	private String email;
	
	/**
	 * 创建时间
	 */
	private Timestamp createdTime;
	
	/**
	 * 修改时间
	 */
	private Timestamp updatedTime;
	
	/**
	 * 创建人
	 */
	private Long creater;
	
	/**
	 * 修改人
	 */
	private Long updator;
	
	/**
     * 最后登录时间
     */
    private Timestamp lastLoginTime;
	
	/**
	 * 性别  1:男  2：女 0：未知	name
	 */
	private String sexName;
	
	/**
	 * 部门编号name
	 */
	private String departName;
	
	/**
	 * 组织机构name
	 */
	private String organName;
	
	/**
	 * 状态  0:注销1:有效 
	 */
	private String statusName;
	
	/**
	 * 角色串
	 */
	private String roleNameArr;
	
	/**
     * 图片二进制实体文件
     */
    private byte[] picture;
    
    /**
	 * dataHref
	 */
	private String dataHref;
	
	// 外参
	// 当前日期
	private Integer nowDate;
		
	public String getDataHref() {
		return dataHref;
	}

	public void setDataHref(String dataHref) {
		this.dataHref = dataHref;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getMask() {
		return mask;
	}

	public void setMask(String mask) {
		this.mask = mask;
	}

	public String getUserCode() {
		return userCode;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}

	public String getOrganId() {
		return organId;
	}

	public void setOrganId(String organId) {
		this.organId = organId;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getMobileNo() {
		return mobileNo;
	}

	public void setMobileNo(String mobileNo) {
		this.mobileNo = mobileNo;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Timestamp getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Timestamp createdTime) {
		this.createdTime = createdTime;
	}

	public Timestamp getUpdatedTime() {
		return updatedTime;
	}

	public void setUpdatedTime(Timestamp updatedTime) {
		this.updatedTime = updatedTime;
	}

	public Long getCreater() {
		return creater;
	}

	public void setCreater(Long creater) {
		this.creater = creater;
	}

	public Long getUpdator() {
		return updator;
	}

	public void setUpdator(Long updator) {
		this.updator = updator;
	}

	public String getSexName() {
		return sexName;
	}

	public void setSexName(String sexName) {
		this.sexName = sexName;
	}

	public String getDepartName() {
		return departName;
	}

	public void setDepartName(String departName) {
		this.departName = departName;
	}

	public String getOrganName() {
		return organName;
	}

	public void setOrganName(String organName) {
		this.organName = organName;
	}

	public String getStatusName() {
		return statusName;
	}

	public void setStatusName(String statusName) {
		this.statusName = statusName;
	}

	public byte[] getPicture() {
		return picture;
	}

	public void setPicture(byte[] picture) {
		this.picture = picture;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
	public String getCaptcha() {
		return captcha;
	}

	public void setCaptcha(String captcha) {
		this.captcha = captcha;
	}

	public Timestamp getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Timestamp lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
	
	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}
	
	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}
	
	public String getRoleNameArr() {
		return roleNameArr;
	}

	public void setRoleNameArr(String roleNameArr) {
		this.roleNameArr = roleNameArr;
	}

	public String getEncryptionPwd() {
		return encryptionPwd;
	}

	public void setEncryptionPwd(String encryptionPwd) {
		this.encryptionPwd = encryptionPwd;
	}

	public String getKeepPath() {
		return keepPath;
	}

	public void setKeepPath(String keepPath) {
		this.keepPath = keepPath;
	}

	public Integer getNowDate() {
		return nowDate;
	}

	public void setNowDate(Integer nowDate) {
		this.nowDate = nowDate;
	}

}
